from data_access.dao import table_dao


class TableService:
    def __init__(self):
        self.table_dao = table_dao.TableDAO()

    def get_table_by_table_id(self, dispatch_code, id):
        table = self.table_dao.get_table_by_table_id(dispatch_code, id)
        return table
